package com.ghq.mapper;

import com.ghq.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {
    @Select("select * from drugstore.user where username = #{username} and password = #{password}")
    User getUsernameAndPassword(@Param("username") String username, @Param("password") String password);
}
